package com.android.kotlincoroutinemvvmdemo.contentprovider

object SqlConstant {
    const val CONTENT_PROVIDER_SCHEME = "content://"

    const val AUTHORITY_GESTURE = "com.android.kotlincoroutinemvvmdemo.contentprovider.gesture"
    const val AUTHORITY_STUDENT = "com.android.kotlincoroutinemvvmdemo.contentprovider.studtent"

    const val DB_NAME = "Gesture.db"
    const val TABLE_GESTURE = "Gesture"
    const val TABLE_GESTURE_COLUMN_GESTURE_ID = "id"
    const val TABLE_GESTURE_COLUMN_GESTURE_SWITCH = "gesture_switch"
    const val TABLE_GESTURE_COLUMN_GESTURE_RESULT = "gesture_result"
    const val TABLE_GESTURE_COLUMN_GESTURE_DESC = "gesture_desc"

    const val TABLE_STUDENT = "Student"
    const val TABLE_STUDENT_COLUMN_NUMBER_ID = "number_id"
    const val TABLE_STUDENT_COLUMN_NAME = "name"
    const val TABLE_STUDENT_COLUMN_GRADE = "grade"
    const val TABLE_STUDENT_COLUMN_PHONE = "phone"
    const val TABLE_STUDENT_COLUMN_HOBBY = "hobby"

    const val GESTURE_DIR = 0
    const val GESTURE_ITEM = 1

    const val STUDENT_DIR = 2
    const val STUDENT_ITEM = 3


    const val INIT_VERSION = 1
    const val UPDATE_VERSION1 = 2
}